body {
font-family: 'Arial', sans-serif;
background-color: #f5f5f5;
text-align: center;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}
#canvasContainer {
position: relative;
margin-top: 20px;
}
#canvas {
border: 2px solid #333;
cursor: crosshair;
background-color: #fff;
}
.input-group {
display: flex;
align-items: center;
margin-bottom: 20px;
}
.input-group input {
padding: 10px;
font-size: 16px;
margin-right: 10px;
border: 2px solid #ccc;
border-radius: 5px;
}
.input-group button {
padding: 10px;
font-size: 16px;
cursor: pointer;
background-color: #3498db;
color: white;
border: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.input-group button:hover {
background-color: #2980b9;
}
.action-buttons button {
margin-top: 10px;
padding: 10px;
font-size: 16px;
cursor: pointer;
background-color: #27ae60;
color: white;
border: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.action-buttons button:hover {
background-color: #219653;
}
#downloadButton {
background-color: #e74c3c;
}
#downloadButton:hover {
background-color: #c0392b;
}
#cropDimensions {
display: flex;
align-items: center;
}
#cropDimensions input {
width: 50px;
margin-right: 10px;
}